Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEFAULT_CA_INFO_PEM does not exist #33

Closed
beyondbytes opened this issue Dec 21, 2021 · 1 comment
Closed

DEFAULT_CA_INFO_PEM does not exist #33

beyondbytes opened this issue Dec 21, 2021 · 1 comment
Labels
documentation Errors or omissions in the wiki, code comments, or other documentation question Request for help or clarification

Comments

@beyondbytes
Copy link

@charonn0

Expected behavior

Var curl As New cURLClient

Var result As String = ""
Var img As FolderItem = SpecialFolder.CurrentWorkingDirectory.Child("temp.png")
curl.RequestHeaders.SetHeader("X-Api-Key", App.ap1key)
Var data As Dictionary 
data.Value("image") = data
If curl.Post(App.ap1_url, data) = True Then
  result = curl.GetDownloadedData
End If

TextField3.Text = result

Writing the result in Textfield3

Actual behavior

Throwing two errors while compiling:

This item does not exist
bs.write(DEFAULT_CA_INFO_PEM)

Parameter "value" expects type String, but this is type Int32.
bs.write(DEFAULT_CA_INFO_PEM)

Steps to reproduce the behavior

  1. Smoke a cigarette
  2. Copy and paste code from the top of this issue message to your own project
  3. Try to compile
  4. Despair
  5. Drink vodka or similar strong alcohol
  6. Post issue here on GitHub
@beyondbytes
Copy link
Author

Just needed to copy the DEFAULT_CA_INFO_PEM to my project directory.

@charonn0 charonn0 added documentation Errors or omissions in the wiki, code comments, or other documentation question Request for help or clarification labels Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Errors or omissions in the wiki, code comments, or other documentation question Request for help or clarification
Projects
None yet
Development

No branches or pull requests

2 participants