Join Slack
Powered by
I'm talking to the Square Connect API from SS2. I ...
# suitescript
c
cja
03/28/2019, 12:58 PM
I'm talking to the Square Connect API from SS2. I need to send multipart form data as described at
https://docs.connect.squareup.com/api/connect/v2#endpoint-v1items-uploaditemimage
. I can find pure JS examples on the web, but I'm not sure how to adapt them to work with N/https. Any ideas?
r
Rehan
03/28/2019, 4:04 PM
@cja
Hello, you need to build out the authentication first
Rehan
03/28/2019, 4:04 PM
https://docs.connect.squareup.com/api/connect/v2#requestheaders
c
cja
03/28/2019, 4:24 PM
Thanks, I've made many requests to the API already, I'm just stuck-ish on uploading item images
cja
03/28/2019, 4:24 PM
Since the requests are more complicated
r
Rehan
03/28/2019, 4:33 PM
how do you mean?
c
cja
03/29/2019, 8:39 AM
Multipart form data and byte string
Open in Slack
Previous
Next