Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnathanson committed Jan 25, 2021
1 parent 83a8192 commit 2415fc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Possible keys for post requests:
* log - log of "point of contact" events

Python Example:
'
'''
import requests


Expand All @@ -68,7 +68,7 @@ headers = {

myString = "api_key="+apiKey+"&stamp="+str(time.time())+"&ip="+myIP+"&mac="+myMAC+"&name="+myName
x = requests.post('http://www.mywebsite.xyz/api/v1/api.php', headers=headers,data = myString)
'
'''

## chargecontroller.php
This manages open access GET requests for local charge controller data
Expand Down

0 comments on commit 2415fc6

Please sign in to comment.