Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titleColorwhite
titleBGColorred
titleImportant note on security

The examples below are for educational purposes: WMDA

Please do read https://ec.haxx.se/usingcurl-netrc.html on the use of passwords and usernames if you plan to automate these procedures.

Code Block
# example use:
curl --netrc-file mycredentialsfile https://xyz.com

# the mycredentialsfile contains :
machine <xyz.com> login <johndoe@xyz.com> password <uf9873o^9ufwa>


WMDA dataupload production plan to do a maintenance and update on 8th, Nov, 2023, which will introduce more security control.
From staging update we know this will impact the current method used in the REST API.
Below you can find some suggestions to improve current script to upload.



Using the REST API

To test the API you may use a tool like Restlet, a plugin for Chrome browsers to test API calls before you deploy. The server responds with a HTTP code 200 in when succesful, but the response body may contain detailed error messages.

...