Advertisement
Guest User

Untitled

a guest
Mar 1st, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. var map = ds_map_create();
  2.  
  3. ds_map_add(map, "title", "asdf blah blah");
  4.  
  5. string[] str = ["Option #1", "Option #2"]; //might need to fix this
  6. ds_map_add(map, "options", str);
  7.  
  8. ds_map_add(map, "multi", true);
  9.  
  10.  
  11. request = http_request("https://strawpoll.me/api/v2/polls", "POST", map, null);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement