Project

General

Profile

Script to import issues via REST API in private project

Added by Victor Sergienko over 6 years ago

I'm trying to create an issue via POST request to hostedredmine.com API in Python 3 like:

url = "https://www.hostedredmine.com/issues.json" 
key = "***" 

def createIssue(body):
    body = {'issue': body}
    data = urllib.parse.urlencode({'issue': body})
    data = data.encode('utf-8')
    request = urllib.request.Request(url)

    # adding charset parameter to the Content-Type header.
    request.add_header("Content-Type", "application/json")
    request.add_header("X-Redmine-API-Key", key)
    #request.add_header("Content-Length", len(data))

    f = urllib.request.urlopen(request, data)
    print(f.read().decode('utf-8'))

createIssue({
    'project_id': 'plando',
    'subject': 'test1',
    'notes': 'tetest',
     #'parent_issue_id': '215453',
    }
)

and getting a HTTP Error 500: Internal Server Error.

I've tried various URLs, with and without .json suffix or my project path.

Does anybody have any idea, what could it be?


Replies (112)

Norton.com/setup - Added by Becky Howard about 1 month ago

Norton security software has been also classified keeping in mind the diverse specifications
of both businesses and consumers using Windows or Mac OS.Through easy installation,
Norton integrates flawlessly with your device for delivering dynamic results for the best
defense against viruses, malware, Trojans, and cyber crooks. Visit
https://setup-nortoncom.com/
https://nortoncom-nortoncom.com/

CSC Registration - Added by CSC Registratiion 27 days ago

Nice post,Thanks for this information. I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. I posted some helpful links can you check it for a second ?Ayushman Bharat Yojana PMJAY

Sukanya Samriddhi Yojana

NSDC

Pradhan Mantri Kaushal Vikash Yojana PMKVY

Swachh bharat Abhiyan

PMAY Pradhan Mantri Awas Yojana

Digitize India Platform

Pradhan Mantri Mudra Yojana

Digital Seva

Beti Bacho Beti Padhao
Avishek

RE: Script to import issues via REST API in private project - Added by Sophie Miller 27 days ago

Chciałbym więcej o tym przeczytać. Szybka, jaka literatura ma studiować? [[https://10-0-0-0-1.online/]]

RE: Script to import issues via REST API in private project - Added by jetri romla 16 days ago

<a href="https://www.uzmas.co.uk/asian-wedding-photography-manchester/"> asian wedding photography manchester </a>

asian wedding photography manchester - Added by jetri romla 16 days ago

if you want services related to photography in all over uk then contact us

https://www.uzmas.co.uk/asian-wedding-photography-manchester/

RE: Script to import issues via REST API in private project - Added by jetri romla 16 days ago

Nice post,Thanks for this information. I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. I posted some helpful links can you check it for a second ?
asian wedding photography services in uk

RE: Script to import issues via REST API in private project - Added by suman rajput about 16 hours ago

I really like this post it was radiant and organizing post. I must state I acknowledge to scrutinizing this article you're really amazing for sharing this
article and keep on extraordinary work.
http://www.tanvirai.in
http://www.mahipalpurgirls.in/
http://www.riya-panjaban.in/
http://www.priyasharma.in/
http://www.riyamalhotra.in/

RE: Script to import issues via REST API in private project - Added by suman rajput about 16 hours ago

Love to read your article. Thanks. Way of expressing your knowledge through words, it touches my heart. Your words in the article give lots of exposure to students
of schools/colleges.

http://www.callgirlsindelhi.net/
http://www.delhi37.in/

RE: Script to import issues via REST API in private project - Added by alina chopra about 14 hours ago

http://nerfhaven.com/forums/user/147421-alinachopraa/
https://www.feedsfloor.com/profile/alina-chopra
http://tronsr.org/index.php?p=/profile/alinachopraa
http://offseo.cf/story.php?title=alinachopra-com
http://offseo.cf/story.php?title=www-alinachopra-com
https://isselecta.com/user/alinachopraa/
https://isselecta.com/pin/http-www-alinachopra-com-delhi-escorts-whatsapp-photo-html/
https://www.summitpost.org/users/alinachopraa/149974
https://adsansar.com/delhi-escorts-service-independent-escorts-in-delhi-on-whatsaap/
https://topescortsclub.com/tec/escort/alina-chopra/
https://www.fulpy.com/alinachopraa/stories
https://www.fulpy.com/alinachopraa
https://www.fulpy.com/escorts-in-delhi/products/23902
https://blogfreely.net/alinachopraa/
https://p-tweets.com/alinachopraa
https://www.construction21.org/member/33539/
https://studiopress.community/users/alinachopraa/
https://www.reactos.org/forum/memberlist.php?mode=viewprofile&u=56165
http://www.sbookmarking.com/story/delhi-escorts-services
https://www.cheapassgamer.com/user/576907-alinachopraa/
https://forums.golf-monthly.co.uk/members/alinachopraa.26362/#about
https://www.motorlegend.com/membre/alinachopraa.html
http://rosalind.info/users/alinachopraa/
https://addons.wpforo.com/community/profile/alinachopraa/
https://forum.mt5.com/showthread.php?162665-Safe-and-Right-Escort-in-Delhi-For-you-in-Delhi&p=13264252#post13264252
https://a2zclassified.com/best-escorts-in-delhi-offers-therapy-of-delhi-escorts-services/6971.html
https://botman.io/forum/u/alinachopraa
https://www.stageit.com/alinachopraa
https://yed.yworks.com/support/qa/user/alinachopraa
https://www.bonanza.com/users/40581651/profile
http://www.my-trinity.com/forum/member.php?u=30037
http://twiki.medicware.tecnova.com.br/twiki/bin/view/Main/AlinaChopra
https://www.ask-oracle.com/members/alinachopraa-2-2/
https://www.quorrabot.com/members/alina-chopra.7875/
https://www.jaagit.com/check-out-the-most-ravishing-category-of-professionals-serving-our-escort-service-delhi/26811.html
https://www.hikingproject.com/user/200600806/alina-chopra
http://cs.athletic.net/members/1058069/default.aspx
https://www.wallpaperup.com/member/profile/62839
https://joomla51.com/forum/profile/77888-alinachopraa
https://forum.portfolio.hu/user/alinachopraa
https://stackshare.io/alinachopraa/comments
https://www.projectnoah.org/users/alinachopraa
https://www.businesslistings.net.au/_Massage__Physiotherapy__Personal_Training__Gait_Analysis/delhi/Delhi_call_girls_hold_the_most_exclusive_characteristics_of_satisfying_every_man%E2%80%99s_sensual_desire/433107.aspx
https://printable-calendar.mn.co/members/2401112
https://www.brewersfriend.com/homebrew/brewer/263743/alinachopraa
https://www.business.com/advice/member/p/alina-chopra-1/
http://www.avvocatoamministrativo.eu/forum/showthread.php?316393-Attitude-of-the-Escorts-in-Delhi-would-definitely-pull-forward-many-of-the-customers
http://www.avvocatoamministrativo.eu/forum/member.php?43943-alinachopraa
https://www.priroda.cz/inzeraty.php?detail=14837
https://www.edocr.com/v/ggpba0qa/alinachopraa/Delhi-escorts-are-the-finest-companion-of-men-help
https://forum.singaporeexpats.com/memberlist.php?mode=viewprofile&u=246281
https://petestrafficsuite.com/member.php?317502-alinachopraa
https://wacom.ccnsite.com/alinachopra
http://hyunsdojo.com/user.php?u=alinachopraa&page=about
https://www.cocktaildatenbank.de/users/alina-chopra
https://www.custommagnums.com/forums/members/alinachopraa-141348.html
https://www.spinattic.com/alinachopraa
https://talktoadoctor.co.uk/profile/alinachopraa/
https://www.utellstory.com/profile/stories/52710
http://nerdforum.org/index.php?/user/4140-alinachopraa/
https://www.dpselfhelp.com/forum/index.php?/user/137184-alinachopraa/
https://englandescortdirectory.com/ad/get-rid-over-the-modes-of-boredoms-in-your-life-with-the-touch-of-sensuality-of-delhi-call-girls/
https://www.microsoftpartnercommunity.com/t5/user/viewprofilepage/user-id/33691
https://www.cubeforums.com/forum/members/alinachopraa.html
http://matildatuesday.blogspot.com/p/forum_10.html#nabble-td7581638
http://www.archisinstitute.com/classifieds/international-agriculture-jobs/enjoy-the-endless-hours-of-sensual-services-from-the-touch-of-excellence-of-delhi-escorts.html
https://www.koolbusiness.com/newvi/4894479451422720.html

(101-112/112)