Skip to content

Commit

Permalink
created 8-23-2018 9:22 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
mqnoy authored Aug 23, 2018
1 parent 3cfc561 commit 32573d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions httppost_with_toolfetch_basicauth
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#--------------------------------
# - created 8-23-2018 9:22 PM
# - author : https://github.com/mqnoy/mikrotik_scripting
# - email : qnoy.rifky@gmail.com
#--------------------------------
:log info "auth tester ---------------";
:set $data "{\"var\":\"valuedone\"}";
/tool fetch mode=http url="http://11.8.0.6/loggerv1/auth/auth.php" keep-result="yes" http-method=post http-data="$data" http-content-type="application/json" user="thisuser" password="thispassword"

0 comments on commit 32573d9

Please sign in to comment.