Hi we have a script that is pointed at an external...
# general
m
Hi we have a script that is pointed at an external api. the api has been changed from http to https we have changed the url in the script to be https but we are still getting the following error 'SSS_INVALID_URL The URL must be a fully qualified HTTP URL.' does anyone have any suggestions?
s
Are you calling the external api using http.post/http.get?
m
yes
http.get
s
Try using https module. I am assuming the script is in suitescript 2.0
m
it is suitescript 2.0
s
Try using N/https module to send the call. I think that should work.
Better platform for this question is suitescript channel. If this does not work ask this question there.
m
Thank you Salman
s
Do share if it works. 😁
m
i tried that and got 'ReferenceError https is not defined'
s
In suitescript 2.0 you have to define the module.