Questions tagged [http-functions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

How to use `libcurllink` library functions? [duplicate]

CURLLink` uses libcurllink library to work with libcurl. I wonder if there's anyone who had ...
1
vote
1answer
36 views

Accessing Nutritionix API

I'm working on a project to build a graph based on nutritional elements of common foods. A popular source of this information is Nutritionix, which provides data via a set of APIs. I'm using MMA (v12....
5
votes
2answers
139 views

Curl analog with URLRead/Execute?

I have a working curl command: curl https://myapp.herokuapp.com/doit -F filedata=@path/to/img.jpg How do I write this in the modern way with ...
3
votes
1answer
40 views

Should HTTPRequest return the same as curl in this case

The following shell script is used to access an IoT device that returns a JSON string, the content of which is not important for this question. ...
2
votes
0answers
61 views

Debugging a simple APIFunction

I have a simple API that takes a recipe and returns the list of ingredients: ...
2
votes
0answers
59 views

How should I connect to an FTP server from Mathematica running under Windows?

I found relevant information on the problem for Linux or MacOS, but I run programmes under Windows. I want to connect to a friend's FTP server to download some files. Of course the server has wants a ...
1
vote
1answer
106 views

Basic API Key authentication not working with URLExecute

I am a newbie with RESTful APIs and have never tried accessing one from inside Mathematica. I am trying to access the Companies House API, in the UK. The following command works fine from the Terminal ...
1
vote
1answer
85 views

Cannot submit valid form in FormFunction

I have a simple FormFunction like this: FormFunction[{"expr" -> ToExpression}, HTTPRequestData[] &] When I use ...
7
votes
1answer
185 views

How to import a ByteArray from GenerateHTTPResponse?

Without GenerateHTTPResponse the import works as expected. ba = ExportByteArray[Plot[x, {x, 0, 1}], "PNG"]; ImportByteArray[ba] ...
5
votes
2answers
133 views

“Accept” header in HTTP request for DOI Content Negotiation

I am trying to get the .bib info from a DOI, following the guide here. Basically, I wish to run ...
2
votes
1answer
59 views

How can I deal with a 502 error? [closed]

I am working on a program that interfaces with a web API. Mathematica runs perfectly fine for a few hours and then, after a while, will sometimes return: The request to URL https://api.polygon.io/...
2
votes
1answer
374 views

Using HTTPRequest “Method”->“PUT” with photos in AWS S3

I'm able to post strings (text files) to AWS S3 using REST API's, but I can't post photos/files. Because the "content-length" or ByteCount of a Wolfram Language ...
1
vote
1answer
173 views

How to get URL request response in Mathematica?

I am considering the following link: https://myimmitracker.com/en/ca/trackers/consolidated-e-apr-tracker-express-entry-permanent-residency-application It produces the following page with a table in ...