Converting cURL command to PowerShell's Invoke-WebRequest, in order to initialize B402 radio

Using a B402 SOM chipset (cellular modem)

To use PowerShell’s Invoke-WebRequest command, what would be the equivalent command to:

curl https://api.particle.io/v1/products/vaporox-cell-16980/sims 
-d sims[]=<redacted> 
-d access_token=<redacted>

(where the sims[] data is the IICID of the SOM’s radio)

…I tried a bunch of combinations, but PowerShell always gives some type of error!

Hi,
Welcome to the Community !
Have you seen this already ?

Hope will help

Thanks for the info…but I don’t understand most of it…Just need to send 2 data items, the access token and the IICID number. Does anyone have a simple Invoke command that’ll do this?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.