Skip to content

Instantly share code, notes, and snippets.

# # ########### Python 3.2 #############
# import http.client, urllib.request, urllib.parse, urllib.error, base64
# from flask import Flask
#
# app = Flask(__name__)
# headers = {
# # Request headers
# 'Content-Type': 'application/json',
# 'Ocp-Apim-Subscription-Key': '08c91afcbf394fe1a54e1c855bb1b8c7',
# }
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="Imported Rule 1" stopProcessing="true">
<match url="themes/.*/(layouts|pages|partials)/.*.htm" />
<action type="Rewrite" url="index.php" />
</rule>
0x3cc21a10CF25e54F0ce33a088F9396f32e36fDfC
0xBb03a180E3566ADDD878C75d7d913D194acb0320
0xf7cda63d18fe1686f3479592df2c55862560a69d
@nomad23
nomad23 / file1.txt
Created April 13, 2013 19:21
the description for this gist
String file contents
{
"sender_id":"1",
"recipient_id":"12",
"app_message":"We have to meet!!"
}
{
"code": 200,
"messages":
[
"Offer Withdrawn Successfully"
]
}
{
"messages":
[
"The offer id field is required."
],
"code": 400
}
{
"code": 404,
"messages":
[
"No Offer Found for that Id"
]
}