Web API 5.1 issue - asp.net-web-api2

POSTing data to WebApi after update to 5.1.0 fails
Hi!
Do you have any updates on this issue? I'm experiencing exactly the same problem. I'm willing to help as much as I can, because this is a show stopper for me.
Thanks,
-Kirill.

The default formatter seems to be broken really deep in the System.Net.Http, and instead of accepting application/x-www-urlencoded data it only accepts application/json data. Format your data in JSON then post it.

Related

Getting embedded code of a post via Crowdtangle API

I have a special question working with the Crowdtangle API: Does anybody know, if it is possible to fetch the embedded code of a post via GET/posts Syntax? Or is it generally restricted? In addition I have the same question for getting comments of a special post. Didn't find any solutions or workarounds by doing that. And of course I read the documentation. Maybe somebody can give input :-)

what is swagger exactly ? And why doesn't the online editor run requests?

I've spent the last few days trying to understand if I should use api blueprint, RAML or swagger.
It looks like swagger has the biggest community but the closer I look the more I feel that it greatly lacks in documentation (I was forced to look at the code many times to try and integrate it with my current project), many github issues and stackoverflow questions are unanswered.
Is it possible that I am missing something here?
All I want is a tool to help me write the API documentation and test the endpoints.
Why must swagger become part of the server logic?? If I create swagger files in the editor and then serve them to the UI directly it breaks..
As far as I can tell it even makes the server slightly slower and forces the existence of many clumsily maintained integrations :p What am I missing here?
We're trying to work a lot on improving the documentation of Swagger. It's a bit more difficult when many of the projects are community-driven and not managed by a single organization.
We actually try to reply to issues on github quickly (we don't always succeed) and we have our own google group for general questions so we follow stackoverflow somewhat less.
The editor you mention is a new tool as part of the work on Swagger 2.0 and it's not final yet. As such, it still have a few bugs and missing features. The UI is also in the process of being adapted to Swagger 2.0 and the same limitations apply to it.
You most certainly don't have to integrate it with your server and you can expose the documentation statically. The advantage of integrating it with the server is that it's easier to maintain if the API changes.
You can try RAML + ramlev + Abao
The steps should be
Write API Spec in RAML with your fav editor, ie. Atom, vim
Validate your RAML with ramlev
Implement the server logic according API Spec
Validate server logic with Abao

GetResponse Objective-C Integration

I need to create an iOS app that needs to use a form created with GetResponse.
Does anyone know if the integration between the two systems is possible and if there is any documentation or example about it?
Thanks in advance.
Massimo
Please, try start there: http://apidocs.getresponse.com/en
If you need some further directions, just post question here :)

Objective C twitter client help!

I'm trying to update my app (iSocialNet) to use the latest version of MGTwitterEngine without success. I've successfully got iSocialNet to work using Ben Gottlieb's Twitter+OAuth, but there are issues that come with it.
What I would like to do is make my own 'TwitterEngine' but I'm not sure where to start. Can anyone please point me in the right direction? I must warn you that my knowledge of ObjC is minimal, but I'm getting there. Any help is appreciated.
The problem with Twitter+OAuth is that I can't get native retweets to show in the timeline, there's no retweet feature in the MGTE supplied, I can't get all users that a person follows and that's just what I've encountered so far. This is why i need to either update MGTE which comes with OAuth or i need to implement my own engine. I know that OAuth is tricky, but there's a library that MGTE uses that I would use. It's the actuall speaking to twitter that I don't understand.
Many thanks in advance
You could try to parse the timeline directly off twitter, I have same problem and I think it may solve the retweet problem as well as parse the follower list off twitter too ;)
I'd recommend you to explain your problems with Ben Gottlieb's Twitter+OAuth here better than implementing a new OAuth engine, that's absolutely not trivial and with little Objective-C knowledgement it could be disappointing for you! We can help each other here and by reusing code.

Monotouch: WCF is experimental?

I would like to know if the WCF version for monotouch is stable or not. Do you have any info?
Thank in advance. Regards. L.
It's experimental, so not fully supported.
I have used it in a big application in the past though, and for the most part everything worked perfectly. You need to use the Silverlight proxy generator, but everything works ok. I found a few bugs along the way, and the MonoTouch team was just great in getting those fixed as soon as possible. This was almost a year ago, so my guess is that things are probably in a better shape now.
If you really need to so webservices (instead of simple http calls), I would suggest you give it a try, before disregarding it. You'll see that unless you need very very specific things, everything really works well.