Here is my code.
import requests
url ='http://openapi.tago.go.kr/openapi/service/ExpBusArrInfoService/getExpBusTmnList'
data = {
'ServiceKey': u'....ZUH%2BuQNPmHiURbswJkYuWwM4UPzBZj3hQ%2FHafuEGG%2BujFqnf9rvZcodp4McovLUtrgc8rOBAPC3tNLQ%3D%3D',
'tmnNm': '서울'
I want to use restAPI, but when I request, the key which I put in tranformed like below.
print(http.url)
http://openapi.tago.go.kr/openapi/service/ExpBusArrInfoService/getExpBusTmnList?ServiceKey=Wpb3CsAZUH%252BuQNPmHiURbswJkYuWwM4UPzBZj3hQ%252FHafuEGG%252BujFqnf9rvZcodp4McovLUtrgc8rOBAPC3tNLQ%253D%253D&tmnNm=%EC%84%9C%EC%9A%B8
You might notice that it add 25 after '%' . So, request failed. How can I solve this problem? I guess formatting system maybe cause this trouble. But I dont know how fix it. Please help me.