Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

deleteStory not working #182

Closed
oneminusone opened this issue Sep 2, 2015 · 3 comments
Closed

deleteStory not working #182

oneminusone opened this issue Sep 2, 2015 · 3 comments

Comments

@oneminusone
Copy link

deleteStory gives a 404 NOT_FOUND error. I suppose the endpoint should be /bq/delete_story instead of /delete_story, but then there's a 400 BAD_REQUEST error.

@mgp25 mgp25 closed this as completed in 3d6a186 Sep 2, 2015
@mgp25
Copy link
Owner

mgp25 commented Sep 2, 2015

@oneminusone I updated the endpoint, i'll test the request and response in a while and if its not working i'll update it

Thanks for noticing.

@mgp25 mgp25 reopened this Sep 2, 2015
@mgp25
Copy link
Owner

mgp25 commented Sep 2, 2015

@oneminusone it should work now, the request is the same as the client

Regards

@mgp25 mgp25 closed this as completed Sep 2, 2015
@oneminusone
Copy link
Author

It's still not working. The correct request includes the username and timestamp.

$result = parent::post(
    '/bq/delete_story',
    array(
        'story_id' => $storyId,
        'username' => $this->username,
        'timestamp' => $timestamp,
    ),
    array(
        $this->auth_token,
        $timestamp,
    ),
    $multipart = false,
    $debug = $this->debug
);

mgp25 added a commit that referenced this issue Sep 20, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants