Skip to content

Strange issue with network connect #7

@shoxxdj

Description

@shoxxdj

Hello,

I'm trying to connect to a network using .post('/networks...')
Before I've created a network and create/started a container.
I have both ID on network and container varialbe

docky.post('/networks/'+network+'/connect',{json:{'Container':container}},function(err,toto){

I allways get:
SyntaxError: Unexpected end of JSON input at JSON.parse (<anonymous>)

Just cant understand why ..
Can you help ? :)
Thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions