Skip to content

Commit

Permalink
Fix BEAM credentials to call the API (iusztinpaul#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulescu authored Nov 27, 2023
1 parent a9d700c commit 10684ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/financial_bot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ deploy_beam_dev: export_requirements

call_restful_api:
curl -X POST \
--compressed 'https://${DEPLOYMENT_ID}.apps.beam.cloud' \
--compressed 'https://${BEAM_DEPLOYMENT_ID}.apps.beam.cloud' \
-H 'Accept: */*' \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Authorization: Basic ${TOKEN}' \
-H 'Authorization: Basic ${BEAM_AUTH_TOKEN}' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-d '{"about_me": "I am a student and I have some money that I want to invest.", "question": "Should I consider investing in stocks from the Tech Sector?", "history": [["What is your opinion on investing in startup companies?", "Startup investments can be very lucrative, but they also come with a high degree of risk. It is important to do your due diligence and research the company thoroughly before investing."]]}'
Expand Down

0 comments on commit 10684ac

Please sign in to comment.